using System;
using System.Windows.Forms;

namespace TimeCameraWinForm
{
  static class Program
  {
    /// <summary>
    ///  The main entry point for the application.
    /// </summary>
    [STAThread]
    static void Main()
    {
      System.Net.Http.HttpClient client = new()
      {
        BaseAddress = new(TimeCameraClient.Properties.Settings.Default.RemoteUrl),
        Timeout = new(0, 0, 10)
      };
      Application.SetHighDpiMode(HighDpiMode.SystemAware);
      Application.EnableVisualStyles();
      Application.SetCompatibleTextRenderingDefault(false);
      Application.Run(new Login(client));
    }
  }
}
